import 'package:flutter/material.dart';
import 'package:my_translate/pages/recording_translate_page.dart';
import 'package:my_translate/pages/textfield_page.dart';

import 'body_page.dart';
import 'draer_page.dart';

class IndexPage extends StatelessWidget {
  const IndexPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      drawer: DrawerPage(),
      appBar: AppBar(
        elevation: 0,
        title: Text("Googlt Translate"),
      ),
      body: Column(
        children: [
          InedxBody(),
          TextFieldPage(),
          SizedBox(
            height: 10,
          ),
          RecordingTranslate()
        ],
      ),
    );
  }
}
